package com.shuimutong.paxos.demo.service;

import com.shuimutong.paxos.demo.bean.bo.ProposalBo;
import com.shuimutong.paxos.demo.bean.dto.PrepareResDto;

public interface AcceptorService {
    PrepareResDto prepare(ProposalBo proposal);

    int accept(ProposalBo proposal);
}
